<html>

<head>
<title>HOSPITAL</title>
<link type="text/css" href="jquery-ui-1.8.13.custom/css/ui-lightness/jquery-ui-1.8.13.custom.css" rel="Stylesheet" />	
<script type="text/javascript" src="jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="jquery-ui-1.8.13.custom/js/jquery-ui-1.8.13.custom.min.js"></script>

</head>
<body>
<script language="javascript">
function fncSubmit()
{
if(document.form1.a.value == "")
	{
	alert('Please input Drug Id');
		document.form1.a.focus();
		return false;
	}
if(document.form1.b.value == "")
	{
		alert('Please input Drug Name');
		document.form1.b.focus();
		return false;
	}
  
if(document.form1.c.value == "")
	{
		alert('Please input Fee');
		document.form1.c.focus();       
		return false;
	}	  	
	document.form1.submit();
}

</script>
    

<br/>
<br/>
<center><h1>ADD PHAMACY STORE</h1></center>
<br/>
<center><table border=3 bordercolor="#ff99cc">
<tr><td>
<form id="form1" name="form1" method="post" action="add-phamacyst.php" onSubmit="JavaScript:return fncSubmit();">
	DRUG ID: <input name="drug_id" type="text" id="a"/><br/>
	DRUG NAME: <input name="drug_name" type="text" id="b" /><br/>
        FEE:<input name="fee" type="text" id="c" /><br/>
	<center><input type="submit" /></center>
</form>
</td></tr>
</table>

</body>
</html>